.TreeItem_head {
  display: flex;
  position: relative;
}
.TreeItem_body {
  flex: 1;
}
.treed_body {
  flex: 1;
}
.TreeItem_children {
  margin-left: 20px;
}
.TreeItem_nochildren {
  cursor: pointer;
}
.textarea-grow {
  position: relative;
}
.textarea-grow textarea {
  width: 100%;
  height: 0;
  border: 0;
  padding: 0;
  resize: none;
  font-size: 1em;
  overflow: hidden;
  font-family: sans-serif;
}
.textarea-grow .shadow {
  white-space: pre-wrap;
  position: absolute;
  font-family: sans-serif;
  width: 100%;
  top: 0;
  left: 0;
  visibility: hidden;
}
.treed_body_rendered,
.textarea-grow textarea,
.textarea-grow .shadow {
  font-family: sans-serif;
  font-size: 14px;
}
.textarea-grow textarea {
  outline: none;
}
.n_Collapse > .TreeItem_children {
  display: none;
}
.list > .n_Collapse > .TreeItem_children {
  display: block;
}
.m_Collapser {
  cursor: pointer;
}
.m_Collapser:after {
  content: '+';
}
.m_Collapser-collapsed:after {
  content: '-';
}
.ContextMenu {
  font-family: sans-serif;
  background-color: white;
  position: fixed;
  z-index: 10000000;
}
.ContextMenu_item {
  position: relative;
}
.ContextMenu_item > .ContextMenu_item_title {
  cursor: pointer;
  padding: 5px 10px;
  background-color: white;
  padding-right: 60px;
  white-space: nowrap;
}
.ContextMenu_item-disabled > .ContextMenu_item_title {
  cursor: default;
  color: #888;
}
.ContextMenu_item-selected > .ContextMenu_item_title {
  background-color: #cef;
}
.ContextMenu_item_shortcut {
  background-color: #eee;
  border-radius: 2px;
  padding: 1px 5px;
  position: absolute;
  right: 6px;
  top: 6px;
  font-family: monospace;
  box-shadow: 0 0 5px #aaa inset;
  text-shadow: 1px 1px 3px #777;
  color: #555;
}
.ContextMenu_item-parent > .ContextMenu_item_title::after {
  content: '\25b8';
  position: absolute;
  right: 10px;
  top: 3px;
  color: #777;
}
.ContextMenu_body {
  box-shadow: 0px 3px 7px #919191;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 3px;
}
.Mindmap {
  width: 1200px;
  height: 800px;
  margin: 30px auto;
  box-shadow: 0 0 10px black inset;
  position: relative;
}
.MindmapLinks {
  overflow: visible;
}
.MindmapLinks path {
  stroke: black;
  stroke-width: 10px;
}
.MindmapMovable {
  overflow: hidden;
  height: 800px;
  width: 1200px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: move;
  cursor: -webkit-grab;
}
.MindmapMovable_container {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform .2s ease, top .2s ease, left .2s ease;
}
.MindmapNode {
  position: absolute;
  transition: transform .2s ease, opacity .2s ease;
  opacity: 1;
  top: 0;
  left: 0;
}
.MindmapNode-parent > .MindmapNode_main .MindmapNode_collapser {
  opacity: 0;
  transition: opacity .2s ease;
}
.MindmapNode-parent > .MindmapNode_main .MindmapNode_collapser::after {
  content: ' ';
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 2px;
  color: #ccc;
  margin-top: -20px;
  cursor: pointer;
  border-width: 20px 0px 20px 15px;
  border-color: transparent transparent transparent #ddd;
  border-style: solid;
}
.MindmapNode-parent > .MindmapNode_main:hover .MindmapNode_collapser,
.MindmapNode-collapsed > .MindmapNode_main .MindmapNode_collapser {
  opacity: 1;
}
.MindmapNode-hiding {
  pointer-events: none;
}
.Mindmap-active .MindmapNode-active > .MindmapNode_main {
  border-color: magenta;
}
.Mindmap-active .MindmapNode-editing > .MindmapNode_main {
  border-color: green;
}
.MindmapNode_line {
  border: none;
  position: absolute;
  left: 50%;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  background: #ccc;
  transform-origin: 0 50%;
  transition: transform .2s ease, width .2s ease;
}
.MindmapNode_main {
  padding: 20px;
  width: 250px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  background: white;
  cursor: pointer;
  z-index: 10;
  position: relative;
}
/** Rebase **/
.m_RebaseDot {
  background-color: transparent;
  width: auto;
  height: auto;
  float: none;
}
.m_RebaseDot::before {
  content: "\2022";
  cursor: pointer;
}
.m_RebaseDot:hover {
  background-color: #aaa;
  border-radius: 10px;
  line-height: 10px;
  margin-top: 4px;
  height: 10px;
}
.m_RebaseDot {
  padding: 3px;
  font-size: 25px;
  line-height: 18px;
  overflow: hidden;
  margin: 0 0 0 5px;
}
.TreeItem-parent.n_Collapse > .TreeItem_head .m_RebaseDot {
  font-size: 40px;
  line-height: 14px;
  margin-top: 0;
  overflow: hidden;
  color: #777;
  margin-left: 3px;
  margin-right: -1px;
  height: 12px;
  padding: 3px 2px;
}
/** Collapse **/
.m_Collapser {
  position: relative;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}
.TreeItem-parent > .TreeItem_head:hover .m_Collapser {
  opacity: 1;
}
.m_Collapser:after {
  content: "-";
  position: absolute;
  top: -1px;
  font-weight: bold;
  font-family: monospace;
  cursor: pointer;
  font-size: 20px;
  left: -14px;
  width: 20px;
}
.TreeItem-parent > .TreeItem_head .m_Collapser-collapsed {
  opacity: 1;
}
.m_Collapser-collapsed:after {
  content: "+";
}
/** Root node **/
.TreeItem-root > .TreeItem_head .m_RebaseDot,
.TreeItem-root > .TreeItem_head .m_Collapser,
.TreeItem-root > .TreeItem_head .m_Collapser:after {
  display: none;
}
.TreeItem-root > .TreeItem_head .TreeItem_body {
  font-size: 30px;
  padding-left: 5px;
}
.TreeItem-root > .TreeItem_head .TreeItem_body .treed_body_rendered,
.TreeItem-root > .TreeItem_head .TreeItem_body textarea,
.TreeItem-root > .TreeItem_head .TreeItem_body .shadow {
  padding-left: 10px;
  font-size: 30px;
  border-radius: 10px;
}
/** body **/
.TreeItem_body {
  margin-left: 0px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.TreeItem_head:hover .TreeItem_body {
  background-color: #ccc;
}
.TreeItem-selected > .TreeItem_head .TreeItem_body {
  background-color: #CFF6FF;
}
.TreeItem-active > .TreeItem_head .TreeItem_body {
  background-color: #afc;
}
.TreeItem-editing > .TreeItem_head .TreeItem_body {
  background-color: white;
  border-color: #ccc;
}
.TreeItem-selected > .TreeItem_children {
  background-color: #E0F9FF;
  border-radius: 10px;
}
.m_Done > .TreeItem_head .treed_body {
  color: #777;
  font-style: italic;
}
.treed_body_rendered,
.textarea-grow textarea,
.textarea-grow .shadow {
  border: none;
  margin: 0;
  display: block;
  font-size: 16px;
  min-height: 24px;
  padding: 3px 7px;
  font-family: sans-serif;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: transparent;
}
.treed_body_rendered blockquote {
  border-left: 5px solid #ccc;
  padding-left: 10px;
  margin: 10px 0;
}
.treed_body_rendered blockquote > p:first-child {
  margin-top: 0;
}
.treed_body_rendered blockquote > p:last-child {
  margin-bottom: 0;
}
.treed_body_rendered > *:first-child {
  margin-top: 0;
}
.treed_body_rendered > *:last-child {
  margin-bottom: 0;
}
/** PLUGIN done */
.n_Collapse > .TreeItem_children {
  display: block;
}
.TreeItem_nochildren {
  padding: 10px 50px;
  text-align: center;
  color: #555;
}
h1 {
  font-family: "Microsoft YaHei UI";
}
body {
  padding: 10px 100px;
  font-family: "Microsoft YaHei UI";
}
